A custom ROM has an assert code in the following location:
/META-INF/com/google/android/updater-script

This file is there inside the ROM zip file itself. You need to open the file on the ROM,...