corrects try/catch
This commit is contained in:
parent
9647e859ba
commit
2456d6daa0
@ -110,11 +110,14 @@ pipeline {
|
||||
| base64 -w 0
|
||||
"""
|
||||
)
|
||||
} catch(e) {
|
||||
|
||||
// check for error
|
||||
if (openVPNConfig.length() == 0 || openVPNConfig == "") {
|
||||
printf("Bad nordURL: %s", nordURL)
|
||||
throw e
|
||||
throw new Exception(nordURL)
|
||||
}
|
||||
} catch(e) {
|
||||
println(sprintf("Bad nordURL: %s", nordURL))
|
||||
throw e
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user