Commit Graph

12 Commits

Author SHA1 Message Date
Bridget
8e9b9fafe3 Improve error messages 2020-04-14 00:29:32 +02:00
Bridget
8fc72102ff Change 'remote' to 'endpoint' for clarity 2020-04-14 00:27:42 +02:00
Bridget
e471d8184b Simplify error handling 2020-04-13 23:15:15 +02:00
Bridget
f4b86997f9 Handle 404 and 500 HTTP errors 2020-04-13 20:22:37 +02:00
Bridget
95530fd468 Handle timeout error 2020-04-13 16:51:51 +02:00
Bridget
83ec087f7b Improve error handling 2020-04-13 16:16:12 +02:00
Bridget
23c4b67773 Handle 401 HTTP error 2020-04-13 16:03:34 +02:00
Bridget
4f0dea7449 Refactor 2020-04-13 16:00:17 +02:00
Bridget
6c53b8ab83 Raise requests errors 2020-04-13 15:57:44 +02:00
Bridget
53df199bef Only allow one session in use at a time 2020-04-13 15:37:45 +02:00
Bridget
39e2a8ee74 Rename connection intitialization string 2020-04-13 15:15:42 +02:00
Bridget
e08fe79f55 Refactor; split comms logic into lib module 2020-04-13 13:53:02 +02:00