Giter Club home page Giter Club logo

Comments (7)

NotMyFault avatar NotMyFault commented on July 2, 2024 1

Interesting, I hoped that it would fail silently and hints a why, but looks like commands go through fine and are handled properly? Just that nothing changes on Jira's end 🤔

from ircbot.

daniel-beck avatar daniel-beck commented on July 2, 2024

The ircbot account (which I assume is used) is in the Administrators group, so rather unlikely a permissions issue.

from ircbot.

NotMyFault avatar NotMyFault commented on July 2, 2024

The ircbot account (which I assume is used) is in the Administrators group, so rather unlikely a permissions issue.

Interesting and good to know. Would there be a way to obtain logs from the bot and (audit) logs from Jira covering the timeframe of someone using the command?
The bot lets you know if an operation failed, but given that didn't happen, logs could contain some hints pointing in a possible direction.

from ircbot.

timja avatar timja commented on July 2, 2024

logs contain just this:

[main] INFO org.pircbotx.InputParser - pircbotx.input :timja!sid405656@jenkins/contributor/timja PRIVMSG #jenkins-hosting :jenkins-admin: remove lead of token-macro-plugin
[listenerPool0-thread6546] INFO org.pircbotx.output.OutputRaw - pircbotx.output PRIVMSG #jenkins-hosting :Changing default assignee of subcomponent token-macro-plugin to null

from ircbot.

slide avatar slide commented on July 2, 2024

When I run the ircbot in debug mode and try and step through with the debugger, it skips past the creation of the JiraClient into the finally block, no errors are shown, not stack traces. It is very weird.

from ircbot.

slide avatar slide commented on July 2, 2024

I figured out that the issue is a NoClassDefFound which inherits from Error, not Exception, so the existing catch doesn't catch it. I created a PR that has some code cleanup and changes to catch a Throwable instead of Exception. I have a fix, but I was just blindly stabbing the issue in the dark since I am not anywhere close to a Maven or Java expert. I'll create a new PR for that tomorrow.

from ircbot.

NotMyFault avatar NotMyFault commented on July 2, 2024

Fixed in #151, and released in https://github.com/jenkins-infra/ircbot/releases/tag/v1.11.0

Thanks!

from ircbot.

Related Issues (14)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.