tony-o / raku-fez

This project is for 'fez', raku's cool new shiny dist uploader & manager. If you're a module author you should definitely be using this sweet thang. ;;;;;;;;;;;;;; This project and the underlying infrastructure is supported out of my own pocket and through donations. If you'd like to donate please check here: https://www.patreon.com/oynot
Artistic License 2.0
20 stars 12 forks source link

Catch expired sessions when uploading #27

Closed jjatria closed 3 years ago

jjatria commented 3 years ago

I was trying to push an upload and kept bumping into

No such method 'substr' for invocant of type 'Any'
  in sub post at ... (Fez::Web) line 33
  in sub MAIN at ... (Fez::CLI) line 297
  in block <unit> at ... line 4
  in sub MAIN at ...bin/fez line 3
  in block <unit> at .../bin/fez line 1

Turns out my session was expired. The solution was to fez login again. This adds a message to make that easier to figure out.