Log an error instead of debug output

This commit is contained in:
Simon Hanna 2018-08-12 13:14:47 +02:00
parent 3e5eb698d9
commit 3ae978e4be
1 changed files with 1 additions and 1 deletions

View File

@ -206,7 +206,7 @@ def str_to_path(string):
:rtype: openlp.core.common.path.Path | None
"""
if not isinstance(string, str):
log.debug('parameter \'string\' must be of type str, got {} which is a {} instead'.format(string, type(string)))
log.error('parameter \'string\' must be of type str, got {} which is a {} instead'.format(string, type(string)))
return None
if string == '':
return None