You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
importbugsybz=bugsy.Bugsy(username=REDACTED, api_key=REDACTED)
bug=bugsy.Bug(bugsy=bz, id=111111111111111111)
bug.add_comment("foo")
# No exception was generated
Expected:
Command doesn't silently fail. Instead some instance of BugsyException is raised.
Note that whilst this example manually generates the bug object, the same could happen if a bug was made private after the .get() but before the .add_comment(), or if say the bug comment was too long - which causes Bugzilla to return an error even though the .get() might have succeeded.
The text was updated successfully, but these errors were encountered:
eg:
Expected:
Command doesn't silently fail. Instead some instance of BugsyException is raised.
Note that whilst this example manually generates the bug object, the same could happen if a bug was made private after the
.get()
but before the.add_comment()
, or if say the bug comment was too long - which causes Bugzilla to return an error even though the.get()
might have succeeded.The text was updated successfully, but these errors were encountered: