diff --git a/web/org.openbravo.retail.giftcards/js/components/GiftCardDialog.js b/web/org.openbravo.retail.giftcards/js/components/GiftCardDialog.js
--- a/web/org.openbravo.retail.giftcards/js/components/GiftCardDialog.js
+++ b/web/org.openbravo.retail.giftcards/js/components/GiftCardDialog.js
@@ -1,6 +1,6 @@
 /*
  ************************************************************************************
- * Copyright (C) 2012-2017 Openbravo S.L.U.
+ * Copyright (C) 2012-2018 Openbravo S.L.U.
  * Licensed under the Openbravo Commercial License version 1.0
  * You may obtain a copy of the License at http://www.openbravo.com/legal/obcl.html
  * or in the legal folder of this module distribution.
@@ -204,7 +204,7 @@
       }
 
       function errorCallback(tx, error) {
-        OB.UTIL.showError("OBDAL error: " + error);
+        OB.UTIL.showError("OBDAL error: " + (error && error.message ? error.message : error));
       }
 
       var criteria = this.owner.owner.getRemoteCriteria(OB.Model.GiftCardFilter, inEvent.filters, inEvent.orderby);
