Adding error log on plugin MBTiles call