mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-21 15:18:44 +05:00
Added panic api in coresv1 for testing
This commit is contained in:
committed by
Dan Christian Bogos
parent
9852be5b3a
commit
95633e7b85
@@ -95,3 +95,7 @@ func (cS *CoreSv1) StopMemoryProfiling(_ *utils.TenantWithAPIOpts, reply *string
|
||||
*reply = utils.OK
|
||||
return nil
|
||||
}
|
||||
|
||||
func (cS *CoreSv1) Panic(_ *utils.TenantWithAPIOpts, _ *string) error {
|
||||
panic("This is a panic test!")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user