added error handling to Output handler in Checker.py