Browse Source

minor update to demo.

Ugochukwu Mmaduekwe 7 years ago
parent
commit
64020a9b50
1 changed files with 3 additions and 1 deletions
  1. 3 1
      QRCodeGenLib.Demo/src/uQrCodeGeneratorDemo.pas

+ 3 - 1
QRCodeGenLib.Demo/src/uQrCodeGeneratorDemo.pas

@@ -283,7 +283,9 @@ begin
   begin
     if not ForceDirectories(LFilePath) then
     begin
-      Exit; // break out since we cannot create our "Assets" directory.
+      // break out since we cannot create our "Assets" directory.
+      WriteLn(Format('Error creating our "%s" directory.', [LFilePath]));
+      Exit; 
     end;
   end;
   LFilePath := LFilePath + AFileName;