smithfarm / dochazka-cli

Dochazka CLI client
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Improve error message when user enters wrong activity code #10

Closed smithfarm closed 8 years ago

smithfarm commented 8 years ago

Jeste nahodny prikaz z dokumentace z posledne:

Dochazka(2015-07-28) tcech ACTIVE> interval 2015-07-28 8:30-9:00 testing new dochazka command line tool
*** REST ERROR ***

Error encountered on attempted operation "Determine AID from code"
REST operation: GET activity/code/testing
HTTP status: 404 Not Found
Explanation: DISPATCH_SEARCH_EMPTY: Search over activity with key ->code equals testing<- returned nothing
Permanent? YES

Pochopil jsem, ze jsem nenapsal typ casu, ale ta chybova hlaska by stejne snesla vylepseni :)

smithfarm commented 8 years ago

Fixed by commit 200a27175d0f25b6bb5cce9465236e844807a395

App::Dochaza::CLI version 0.210