Skip to content

Commit ae9ab92

Browse files
committed
log error_code in case of invalid geo location
1 parent ab99aac commit ae9ab92

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

bin/helpers/utils.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,9 @@ exports.getErrorCodeFromMsg = (errMsg) => {
8585
case Constants.validationMessages.INVALID_LOCAL_ASYNC_ARGS:
8686
errorCode = 'invalid_local_async_args';
8787
break;
88+
case Constants.validationMessages.INVALID_GEO_LOCATION:
89+
errorCode = 'invalid_geo_location';
90+
break;
8891
}
8992
if (
9093
errMsg.includes("Please use --config-file <path to browserstack.json>.")

0 commit comments

Comments
 (0)