Skip to content

Commit

Permalink
Fix - error_log instead of warn
Browse files Browse the repository at this point in the history
  • Loading branch information
palmiak committed Apr 13, 2020
1 parent 6a84c62 commit 752f5e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Timber.php
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,7 @@ public static function compile( $filenames, $data = array(), $expires = false, $

$output = $loader->render($file, $data, $expires, $cache_mode);
} else {
Helper::warn( 'Error loading your template file, make sure the file exists.' );
Helper::error_log( 'Error loading your template file, make sure the file exists.' );
}

do_action('timber_compile_done');
Expand Down

0 comments on commit 752f5e2

Please sign in to comment.