Skip to content

Commit 94ec8e9

Browse files
authored
Server: fix unbound exception variable (#1051)
1 parent 44ff896 commit 94ec8e9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/server/_printer.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ def gen():
5858
r = self._print_row(row)
5959
if r is not None:
6060
yield r
61-
except:
61+
except Exception as e:
6262
get_structured_logger('server_error').error("Exception while executing printer", exception=e)
6363
self.result = -1
6464
yield self._error(e)

0 commit comments

Comments
 (0)