diff options
Diffstat (limited to 'DominoServer.py')
-rwxr-xr-x | DominoServer.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/DominoServer.py b/DominoServer.py index 95fbe53..5c5fbd4 100755 --- a/DominoServer.py +++ b/DominoServer.py @@ -317,6 +317,12 @@ class CommunicationHandler: logging.error('Error: %s', sys.exc_info()[0]) pub_r.responseCode = FAILED + # Check if any file is generated for distribution, if not + # return FAILED as responseCode, we should also send description for + # reason + if len(file_paths) == 0: + pub_r.responseCode = FAILED + return pub_r #Query from Domino Client is received |