add a default argument to the channel in InvalidChannelError

to avoid boiler plate in unittests