Fix error handlers when spoon debug is off