try to output pyramid log when failing