Basic error handler for the manager.js