mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
[mod] more debug output
This commit is contained in:
parent
ac6a14055d
commit
b7e946517b
1 changed files with 2 additions and 1 deletions
|
@ -641,7 +641,8 @@ def _tail(file, n):
|
|||
|
||||
avg_line_length *= 1.3
|
||||
|
||||
except IOError:
|
||||
except IOError as e:
|
||||
logger.warning("Error while tailing file '%s': %s", file, e, exc_info=1)
|
||||
return []
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue