Oops! Good catch, On a previous project, this was so common I believe we had a macro for it, something like FAIL_AND_RETURN(1);
Thanks for the report. I’ve pushed a fix.https://github.com/memfault/interrupt/commit/21737def3ede5f3093f22c2f756cd1ea33aacfda