Wrap your Read PDF Text activity in try block.
in catch block check if Exception.Message = 'The password is incorrect'
if True - upload to storage bucket using Activities - Upload Storage File
else Rethrow the error so that your other exception handling logic can take care of it.