Almost everything works great except one form that doesn't save some data to Azure database and I can't catch any info about exception i.e exception instance is null
when break point stop in exception of type MobileServiceLocalStoreException
. I checked the initialization of the local store and there is no problem with it, so what could be the reason behind this exception.
public async Task<T> CreateItemAsync(T item)
{
try
{
await table.InsertAsync(item);
}
catch(MobileServiceLocalStoreException ex)
{ // here exception occurd
Debug.WriteLine(ex.Message);
}
catch(Exception ex)
{
}
return item;
}