Skip to content

Commit c0e607c

Browse files
author
Vladimir Kotal
committed
fix exception throwing
1 parent 05e2e2c commit c0e607c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tools/src/main/python/deploy.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,9 @@ def repack_war(logger, sourceWar, targetWar, configFile, defaultConfigFile):
5252
zip_cmd = get_command(logger, None, 'zip')
5353
unzip_cmd = get_command(logger, None, 'unzip')
5454
if not zip_cmd:
55-
raise "zip not found"
55+
raise Exception("zip not found")
5656
if not unzip_cmd:
57-
raise "unzip not found"
57+
raise Exception("unzip not found")
5858

5959
extract_cmd = [unzip_cmd]
6060
compress_cmd = [zip_cmd, '-rf']

0 commit comments

Comments
 (0)