summaryrefslogtreecommitdiffstats
path: root/gobject/pygflags.c
diff options
context:
space:
mode:
Diffstat (limited to 'gobject/pygflags.c')
-rw-r--r--gobject/pygflags.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gobject/pygflags.c b/gobject/pygflags.c
index 92f9993..7f052a4 100644
--- a/gobject/pygflags.c
+++ b/gobject/pygflags.c
@@ -150,7 +150,7 @@ pyg_flags_new(PyTypeObject *type, PyObject *args, PyObject *kwargs)
if (ret)
Py_INCREF(ret);
else
- PyErr_SetString(PyExc_ValueError, "invalid flag value");
+ PyErr_Format(PyExc_ValueError, "invalid flag value: %ld", value);
return ret;
}