Made a few corrections to the patch to handle failure of token authorisation. Also made a mistake in the try...except statement (mea culpa).
Made a few corrections to the patch to handle failure of token authorisation. Also made a mistake in the try...except statement (mea culpa).