nthallen / monarch

Monarch Data Acquisition System
0 stars 1 forks source link

bfr: Garbled Error Message #74

Open nthallen opened 4 years ago

nthallen commented 4 years ago

This error arose because I forgot to set Experiment in the client.

16:52:09.337 [ERROR] bfr: clientcon: Expected string 'Bootstrap' at column 7
16:52:09.337 [ERROR] bfr: clientcon: Input was: 'AuthLE none tm_clt tm_bfr/fast\n'
16:52:09.337 [ERROR] bfr: clientcon: Rejecting client connection at column 7
16:52:09.337 [ERROR] bfr: AuthLE none tm_clt tm_bfr/fast\n: Auth string was '<80><BE><FF><FF>'

The last line is just wrong. It might be nice if the first line could report 'Experiment mismatch' or something (although that would require somehow overriding the not_str() library behavior).