diff --git a/coders/gif.c b/coders/gif.c
index f782248..39c90cd 100644
--- a/coders/gif.c
+++ b/coders/gif.c
@@ -1689,7 +1689,7 @@
            */
             (void) WriteBlobByte(image,(unsigned char) 0x21);
             (void) WriteBlobByte(image,(unsigned char) 0xfe);
-            value=GetImageProperty(image,"comment");
+            value=GetImageProperty(image,"comment",exception);
             for (p=value; *p != '\0'; )
             {
               count=MagickMin(strlen(p),255);