Updated /arbitrary/metadata/* response when not found.

This commit is contained in:
CalDescent 2023-02-17 17:37:30 +00:00
parent 5b7e9666dc
commit 7f23ef64a2

View File

@ -737,7 +737,7 @@ public class ArbitraryResource {
throw ApiExceptionFactory.INSTANCE.createCustomException(request, ApiError.FILE_NOT_FOUND, e.getMessage());
}
throw ApiExceptionFactory.INSTANCE.createException(request, ApiError.INVALID_DATA);
throw ApiExceptionFactory.INSTANCE.createException(request, ApiError.FILE_NOT_FOUND);
}