From 76f022d3fe34181b1fed75fb7423934be1d56a42 Mon Sep 17 00:00:00 2001 From: "Karl O. Pinc" Date: Tue, 19 Jan 2021 12:49:21 -0600 Subject: [PATCH] Allow for "chaining" --- src/pgwui_core/exceptions.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/pgwui_core/exceptions.py b/src/pgwui_core/exceptions.py index 25b564b..86e953d 100644 --- a/src/pgwui_core/exceptions.py +++ b/src/pgwui_core/exceptions.py @@ -86,6 +86,7 @@ class UploadError(PGWUIError): self.e = f'{descr}: {self.e}' self.filepath = filepath self.relation = relation + return self class Error(UploadError): -- 2.34.1