File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ kill_timeout = 5
44
55[env ]
66PORT = " 443"
7- RUST_LOG =" info "
7+ RUST_LOG =" trace "
88# Qlog files for debugging (ephemeral - lost on restart)
99QLOG_DIR =" /tmp/qlog"
1010# Mlog files for MoQ Transport debugging (ephemeral - lost on restart)
Original file line number Diff line number Diff line change @@ -56,8 +56,8 @@ pub enum DecodeError {
5656 BoundsExceeded ( #[ from] BoundsExceeded ) ,
5757
5858 // TODO move these to ParamError
59- #[ error( "duplicate parameter" ) ]
60- DupliateParameter ,
59+ #[ error( "duplicate parameter: {0:?} " ) ]
60+ DuplicateParameter ( u64 ) ,
6161
6262 #[ error( "missing parameter" ) ]
6363 MissingParameter ,
Original file line number Diff line number Diff line change @@ -144,7 +144,7 @@ impl Decode for KeyValuePairs {
144144 for _ in 0 ..count {
145145 let kvp = KeyValuePair :: decode ( & mut r) ?;
146146 if kvps. contains_key ( & kvp. key ) {
147- return Err ( DecodeError :: DupliateParameter ) ;
147+ return Err ( DecodeError :: DuplicateParameter ( kvp . key ) ) ;
148148 }
149149 kvps. insert ( kvp. key , kvp) ;
150150 }
You can’t perform that action at this time.
0 commit comments