mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-05-17 03:28:31 +02:00
Specify the exception thrown
This commit is contained in:
parent
272d586e06
commit
ffa32297e8
1 changed files with 1 additions and 1 deletions
|
@ -113,7 +113,7 @@ class Entry:
|
|||
if columns == "auto":
|
||||
try:
|
||||
columns = os.get_terminal_size()[0]
|
||||
except: # noqa: E722
|
||||
except OSError:
|
||||
logging.debug(
|
||||
"Can't determine terminal size automatically 'linewrap': '%s'",
|
||||
self.journal.config["linewrap"],
|
||||
|
|
Loading…
Add table
Reference in a new issue