nicer debug output sync
authorVolker Birk <vb@pep-project.org>
Tue, 09 Jul 2019 11:36:55 +0200
branchsync
changeset 3912506818fe8cbd
parent 3910 1e9cd9e6cd29
child 3913 4868b1702198
nicer debug output
sync/gen_statemachine.ysl2
     1.1 --- a/sync/gen_statemachine.ysl2	Tue Jul 09 11:04:40 2019 +0200
     1.2 +++ b/sync/gen_statemachine.ysl2	Tue Jul 09 11:36:55 2019 +0200
     1.3 @@ -1158,7 +1158,7 @@
     1.4              switch (state) {
     1.5                  `` apply "state", 2, mode=fsm
     1.6                  default:
     1.7 -                    «@name»_ERR_LOG_INT("invalid state", state);
     1.8 +                    «@name»_ERR_LOG("invalid state", «@name»_state_name(state));
     1.9                      return invalid_state;
    1.10              }
    1.11