main: resilience on decodeSuccess, add more debug