Fix ContainerAlreadyExists error handling
This commit is contained in:
1 parent
2a8308de05
commit
4d41c001dc
2 files changed
+121
-121
No files matched your search
@@ -38,7 +38,7 @@
|
||||
console.log("[ERROR] TeamSetup -> newTeam -> createContainer -> onContainerCreated -> Could not create the container. ");
|
||||
console.log("[ERROR] TeamSetup -> newTeam -> createContainer -> onContainerCreated -> err.message = " + err.message);
|
||||
|
||||
if (err.message === "ContainerAlreadyExists") {
|
||||
if (err.code === "ContainerAlreadyExists") {
|
||||
|
||||
let err = {
|
||||
result: global.CUSTOM_FAIL_RESPONSE.result,
|
||||
|
||||
Reference in new issue
Block a user