Compiler: Correctly handle errors from handle_import() safe_apply_current() calls handle_error(), while we want to handle them ourselves in handle_compilation_exception().