Replace otherwise() with catch() for promises