balta2ar / brotab

Control your browser's tabs from the command line
MIT License
389 stars 27 forks source link

404 and `bt active` vs `bt query +active` #70

Closed bjohas closed 2 years ago

bjohas commented 2 years ago

When I have 'stale' clients, I've noticed that

bt active

gives the 404 error, while

bt query +active

works.

However, aren't those commands equivalent?

balta2ar commented 2 years ago

No, they use different API endpoints and show different output. However, I'd rather not focus on states where normal operation is not possible -- i.e. "stale" clients. If there's any action in this issue, then it's preventing the mediator to get into "stale" state in the first place -- not working around the consequences after getting there.

bjohas commented 2 years ago

Yes, makes sense!