moved dockerfile to alpine, added some errors in music
This commit is contained in:
parent
71242d3e80
commit
9cd67a22c4
4 changed files with 24 additions and 13 deletions
src
|
@ -5,6 +5,7 @@ namespace EllieBot.Voice
|
|||
{
|
||||
internal static unsafe class Sodium
|
||||
{
|
||||
|
||||
private const string SODIUM = "data/lib/libsodium";
|
||||
|
||||
[DllImport(SODIUM, EntryPoint = "crypto_secretbox_easy", CallingConvention = CallingConvention.Cdecl)]
|
||||
|
|
|
@ -41,8 +41,9 @@ public sealed class VoiceProxy : IVoiceProxy
|
|||
vc.SendPcmFrame(gw, data, 0, length);
|
||||
return true;
|
||||
}
|
||||
catch (Exception)
|
||||
catch (Exception ex)
|
||||
{
|
||||
Log.Error(ex, "Couldn't send pcm frame: {Message}", ex.Message);
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue