Fixing error handler
1.0.3