Skip to content

Commit 4dcb81f

Browse files
committed
Added SessionStatus error stacktrace
1 parent 6784822 commit 4dcb81f

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

lib/network/authentication.dart

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,10 @@ Future<ApiResponse<StatusModel>> sessionStatus() async {
128128
} on DioError catch (e) {
129129
debugPrint(e.message);
130130
} catch (e) {
131-
debugPrint('Error $e');
131+
debugPrint('Session Status Error: $e');
132+
if (e is Error) {
133+
debugPrint('${e.stackTrace}');
134+
}
132135
}
133136
return ApiResponse(
134137
error: ApiErrors.getStatusError,

0 commit comments

Comments
 (0)