diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2019-09-11 16:23:29 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2019-09-11 21:51:39 +0100 |
commit | 36aab0fe9516f55b410404f379cd083a891afa3a (patch) | |
tree | cfbebbe11dd1fad17aaea31cec6b1100f05ae4e6 /core/connectionlistmodel.h | |
parent | 958dce33263ecda91fae0f5d25494ec2ca5808ba (diff) | |
download | subsurface-36aab0fe9516f55b410404f379cd083a891afa3a.tar.gz |
Add 'download_error()' helper for libdivecomputer download error reporting
In the previous commit, we just continued downloading dives when
download errors happened, but that also makes problems a lot easier to
miss because now they are possibly just transient reports in the
progress bar that get overwritten by the next dive being downloaded.
So this turns a number of these errors from using 'dev_info()' to use a
new 'download_error()' reporting model, which then uses the generic
subsurface error reporting functionality that is sticky and can handle
multiple errors.
It also adds a few 'dev_info()' calls for actual informational messages
about the state of downloading, although the new ones will probably
mainly end up happening before the progress bar is actually shown. But
it might improve on some of the progress messages.
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'core/connectionlistmodel.h')
0 files changed, 0 insertions, 0 deletions