Commits

Anonymous committed 998b52a

Updates issue 155
- Added message to AttributeError

  • Participants
  • Parent commits ce9b331
  • Branches issue_0155_dwhall_exception_messages

Comments (0)

Files changed (1)

                 /* Raise an AttributeError if key is not found */
                 if (retval == PM_RET_EX_KEY)
                 {
-                    PM_RAISE(retval, PM_RET_EX_ATTR);
+                    PM_RAISE(retval, PM_RET_EX_ATTR,
+                             "object has no attribute '%s'\n",
+                             ((pPmString_t)pobj2)->val);
                 }
                 PM_BREAK_IF_ERROR(retval);