Enhancement #1022
bag-record should terminate with non-zero exit code when something goes wrong
Status: | Resolved | Start date: | 06/23/2012 | |
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | J. Moringen | % Done: | 100% | |
Category: | - | |||
Target version: | Robotics Service Bus - rsb-0.7 |
Description
Examples include:
- Spread connection is lost during recording
- Event encoding fails
Related issues
Associated revisions
Proper error policy handling in src/rsb/*-connection.lisp
refs #1022
refs #1022
- src/rsb/bag-connection.lisp (bag-connection): added superclass
`error-policy-mixin'
(shared-initialize :after bag-connection t): new method; force error
policy update
(setf processor-error-policy :before t bag-connection): install new
error policy in all `channel-connection' s
(setf processor-error-policy :before t replay-bag-connection):
install new error policy in replay strategy - src/rsb/channel-connection.lisp (channel-connection): added superclass
`error-policy-mixin'
(shared-initialize :after participant-channel-connection t): new
method; force error policy update
(setf processor-error-policy :before t participant-channel-connection):
install new error policy in participant - src/rsb/replay/replay-restart-mixin.lisp
(replay :around replay-bag-connection replay-restart-mixin):
continue restart accepts optional condition argument
Added toplevel error handling in bag-*/main.lisp
refs #1022
refs #1022
- bag-cat/main.lisp (update-synopsis): call
`make-error-handling-options' to add error-handling-related
commandline options
(main): use `with-error-policy' - bag-info/main.lisp: similar
- bag-merge/main.lisp: similar
- bag-play/main.lisp: similar
- bag-record/main.lisp (update-synopsis): similar
(main): use `with-error-policy; install error policy in the
connection
Backport: Proper error policy handling in src/rsb/*-connection.lisp
refs #1022
refs #1022
- src/rsb/bag-connection.lisp (bag-connection): added superclass
`error-policy-mixin'
(shared-initialize :after bag-connection t): new method; force error
policy update
(setf processor-error-policy :before t bag-connection): install new
error policy in all `channel-connection' s
(setf processor-error-policy :before t replay-bag-connection):
install new error policy in replay strategy - src/rsb/channel-connection.lisp (channel-connection): added superclass
`error-policy-mixin'
(shared-initialize :after participant-channel-connection t): new
method; force error policy update
(setf processor-error-policy :before t participant-channel-connection):
install new error policy in participant - src/rsb/replay/replay-restart-mixin.lisp
(replay :around replay-bag-connection replay-restart-mixin):
continue restart accepts optional condition argument
Backport: Added toplevel error handling in bag-*/main.lisp
refs #1022
refs #1022
- bag-cat/main.lisp (update-synopsis): call
`make-error-handling-options' to add error-handling-related
commandline options
(main): use `with-error-policy' - bag-info/main.lisp: similar
- bag-merge/main.lisp: similar
- bag-play/main.lisp: similar
- bag-record/main.lisp (update-synopsis): similar
(main): use `with-error-policy; install error policy in the
connection
History
#1 Updated by J. Moringen almost 12 years ago
- Status changed from New to In Progress
- % Done changed from 0 to 20
#2 Updated by J. Moringen over 11 years ago
- Status changed from In Progress to Resolved
- % Done changed from 20 to 100