Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
aa.gusti
/
opensipkd-base
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Settings
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 061b092e
authored
Feb 09, 2026
by
aa.gustiana@gmail.com
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
feat: Update error logging in BaseView to use asdict for validation failures during add operations
1 parent
97cfcf7a
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
opensipkd/base/views/base_views.py
opensipkd/base/views/base_views.py
View file @
061b092
...
...
@@ -892,7 +892,7 @@ class BaseView(object):
except
ValidationFailure
as
e
:
log
.
error
(
f
"Add cstruct: {e.cstruct}"
)
log
.
error
(
f
"Add Error: {str(e.error)}"
)
log
.
error
(
f
"Add Error: {str(e.
messages
)}"
)
log
.
error
(
f
"Add Error: {str(e.
asdict()
)}"
)
value
=
self
.
before_add
()
if
self
.
req
.
is_xhr
:
error
=
e
.
error
.
asdict
()
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment