diff --git a/vas/rest/class/vmlib/phpUtil.inc b/vas/rest/class/vmlib/phpUtil.inc
index cf7c3f7ac927df9102514e306adcfa482d01ac31..907ae7ec349bb9a6a96d6f1f17848a60045e6034 100755
--- a/vas/rest/class/vmlib/phpUtil.inc
+++ b/vas/rest/class/vmlib/phpUtil.inc
@@ -1567,6 +1567,7 @@ function getFileContentInWsDataDir($sModule, $sObject, $mId, $sField = '', $sFil
         }
         catch(Aws\S3\Exception\S3Exception $e) {
             writeToErrorLog($e->getMessage());
+            return false;
         }
     }
     else {