FileApplicationNoteBook.st
changeset 17411 86af3d933e91
parent 17402 84974a840754
child 17538 d29a8ed1cc7f
--- a/FileApplicationNoteBook.st	Tue Feb 14 14:02:13 2017 +0100
+++ b/FileApplicationNoteBook.st	Tue Feb 14 15:56:53 2017 +0100
@@ -4258,6 +4258,7 @@
     fn := self fileName.
     Image badImageFormatQuerySignal handle:[:ex |
         e := ex description.
+        Dialog warn:('Error while reading image:\n%s' printfWith:e).
         "/ ex mayProceed ifTrue:[ ex proceed ].
     ] do:[
         img := Image fromFile:fn.
@@ -4269,14 +4270,16 @@
             ] ifFalse:[
                 e := 'No such image'
             ].
+            Dialog warn:('Error while reading image:\n%s' printfWith:e).
         ].
-        Dialog warn:('Error while reading image:\n%s' printfWith:e).
         ^ nil
     ].
     e notNil ifTrue:[
         Dialog information:'An error occurred while decoding some parts of the image.\However, some image data was retrieved...' withCRs.
     ].
     ^ img.
+
+    "Modified: / 14-02-2017 / 15:43:46 / cg"
 !
 
 showHex