Merge "Return an error to the client instead of asserting if decoder instantiation fails"