Errar handlening in Photos controller