Fabric shows non-fatal error in ionic1 app


#1

I have implemented fabric from following:
https://www.npmjs.com/package/cordova-fabric-plugin
but now when my app is running i have non-fatal error in fabric dashboard:

small part of code is as following:

if (hasconnection) {
                $http({
                    method: "POST",
                    url: jsonurl,
                    cache: false,
                    data: sdata,
                    timeout: 155000,
                    headers: {
                        'Content-Type': 'application/x-www-form-urlencoded'
                    },
                }).then(function(results) {
                    root.hideloader();
                    callsucess(results.data);
                }, function(error) {
                    root.hideloader();
                            window.fabric.Crashlytics.setStringValueForKey("message", error.data);
                    $ionicPopup.alert({
                        title: '',
                        template: $rootScope.multilanguage.errorrequest,
                        okText: $rootScope.multilanguage.Ok
                    });
                });
            }

thanks for your help in advanced.


#2

@espl_Abhishek how did you resolve this issue?
Looking forward to hearing from you.
Thanks.