Handle custom scripting exceptions in a proper way

Uncategorized