Some codepaths try and access peer relation data without checking that a peer relation exists; when the app is being nuked, this raises resulting in #292
Fixes #292
Also I noticed there were a few inconsistencies in the assumed return type of get_peer_data, so I fixed those as well.
Issue
Some codepaths try and access peer relation data without checking that a peer relation exists; when the app is being nuked, this raises resulting in #292
Fixes #292
Also I noticed there were a few inconsistencies in the assumed return type of get_peer_data, so I fixed those as well.
added a scenario test to catch this case