Exception handling for manager.js