Fix ContainerAlreadyExists error handling

This commit is contained in:
Barry Low committed 2018-10-06 10:20:54 -07:00
1 parent 2a8308de05
commit 4d41c001dc
2 files changed
+121 -121

No files matched your search

+1 -1
View File
@@ -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,