You are swallowing exception in your method. if you need to find error details you may need to show full error as message or write the full error to a textile. for example:
try
{
}catch(Exception ex)
{
}
then you able to find the detailed error and it will help you to find solution.