fix: enhance error message

This commit is contained in:
Moustapha Kodjo Amadou 2025-11-25 16:55:31 +01:00
parent b6eb5f2f3f
commit 485696ea3f

View file

@ -1344,8 +1344,8 @@ mp.register_script_message('call_button_${button.id}_long', button${button.id}lo
}
if (!context.mounted) return;
Navigator.pop(context);
} catch (_) {
botToast("Error");
} catch (e) {
botToast("Error: $e");
Navigator.pop(context);
}
},