diff --git a/src/bootstrap.coffee b/src/bootstrap.coffee index 758a5c3a..c9d7ae0c 100644 --- a/src/bootstrap.coffee +++ b/src/bootstrap.coffee @@ -16,7 +16,7 @@ semverRegex = require('semver-regex') userConfig = {} -DuplicateUuidError = message: '"uuid" must be unique.' +DuplicateUuidError = (err) -> _.startsWith(err.message, '"uuid" must be unique') exports.ExchangeKeyError = class ExchangeKeyError extends TypedError bootstrapper = {}