If an application is running in 1C:Enterprise mode and a script error occurs, an error message is displayed. Then the system behavior varies depending on the error type.
For compilation errors, the application is stopped because the system cannot process an object whose module has not been compiled.
For runtime errors, the current script call (up to the top level) is stopped but the application execution is continued.
But if a runtime error occurs during module body execution (i.e. during module initialization), the application is stopped because the system cannot process an object whose module has not been initialized.