Skip to content

Commit b00bf80

Browse files
committed
Merge pull request django-webpack#38 from aaugustin/fix-exceptions
Derive exceptions from Exception.
2 parents b91c62b + a61255c commit b00bf80

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

webpack_loader/utils.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,11 @@
3131
entry['ignores'] = [re.compile(I) for I in entry['IGNORE']]
3232

3333

34-
class WebpackError(BaseException):
34+
class WebpackError(Exception):
3535
pass
3636

3737

38-
class WebpackLoaderBadStatsError(BaseException):
38+
class WebpackLoaderBadStatsError(Exception):
3939
pass
4040

4141

0 commit comments

Comments
 (0)