traderepublic / Cilicon

🛠️ Self-Hosted ephemeral macOS CI on Apple Silicon

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Better errors

AndrewSB opened this issue · comments

hey! i was looking to create a github action worker. i've made it through a few of the setup steps, but the error messages from the runner are really hard to decipher. is there a version i can run that has more verbose error messages/stack traces so i can understand what's wrong with my configuration?

Screenshot 2023-01-26 at 12 39 46 PM

also, i saw the medium post that was written about the release of this, are there any other resources that walk through setting up a github app + configuration for a runner using Cilicon?

Hi @AndrewSB, sorry for the late response!
Cilicon relies on Error's localizedDescription for displaying errors, which should provide a human readable error description to the user. It looks like SwiftJWT may not be implementing this correctly. I will have a look and hopefully fix it soon.
Since it's JWT related I'm almost certain that the pem key you're using is the problem. Could you try re-generating it?

The error description should be fixed by Kitura/Swift-JWT#111

awesome! thanks @Marcocanc