added origin argument to stream exception decorator