Merge branch 'fix/handle-server-code-error' into 'master'

Handle server side error code

See merge request sheepitrenderfarm/client!3
This commit is contained in:
Sheepit Renderfarm
2020-10-27 13:47:57 +00:00
2 changed files with 6 additions and 0 deletions

View File

@@ -1033,6 +1033,9 @@ import lombok.Data;
break retryLoop;
case JOB_VALIDATION_ERROR_IMAGE_WRONG_DIMENSION:
confirmJobReturnCode = Error.Type.IMAGE_WRONG_DIMENSION;
break retryLoop;
case JOB_VALIDATION_ERROR_MISSING_PARAMETER:
// no point to retry the request
confirmJobReturnCode = Error.Type.UNKNOWN;