File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -558,6 +558,7 @@ async fn handle_get_migrations(
558558 . await ?;
559559 let config = ( * store. get ( ) ) . clone ( ) ;
560560 if !config. is_shared_schema {
561+ tracing:: warn!( "invalid namespace: target is not a shared schema" ) ;
561562 return Err ( Error :: InvalidNamespace ) ;
562563 }
563564 }
@@ -584,6 +585,7 @@ async fn handle_get_migration_details(
584585 . await ?;
585586 let config = ( * store. get ( ) ) . clone ( ) ;
586587 if !config. is_shared_schema {
588+ tracing:: warn!( "invalid namespace: target is not a shared schema" ) ;
587589 return Err ( Error :: InvalidNamespace ) ;
588590 }
589591 }
Original file line number Diff line number Diff line change @@ -46,6 +46,7 @@ impl NamespaceName {
4646
4747 fn validate ( s : & str ) -> crate :: Result < ( ) > {
4848 if s. is_empty ( ) {
49+ tracing:: warn!( "invalid namespace: empty namespace" ) ;
4950 return Err ( crate :: error:: Error :: InvalidNamespace ) ;
5051 }
5152
You can’t perform that action at this time.
0 commit comments