Add logging volume mounts for coffee and teapot services; improve error message in RpcClient
This commit is contained in:
parent
fef9383dd2
commit
33706d0b50
3 changed files with 3 additions and 10 deletions
|
@ -24,6 +24,7 @@ services:
|
||||||
volumes:
|
volumes:
|
||||||
- ./tests/docker/coffee/config:/etc/config
|
- ./tests/docker/coffee/config:/etc/config
|
||||||
- ./tests/docker/coffee/data:/etc/socialbox
|
- ./tests/docker/coffee/data:/etc/socialbox
|
||||||
|
- ./tests/docker/coffee/logs:/var/log
|
||||||
environment:
|
environment:
|
||||||
# No need to change these values
|
# No need to change these values
|
||||||
LOG_LEVEL: ${LOG_LEVEL:-debug}
|
LOG_LEVEL: ${LOG_LEVEL:-debug}
|
||||||
|
@ -125,6 +126,7 @@ services:
|
||||||
volumes:
|
volumes:
|
||||||
- ./tests/docker/teapot/config:/etc/config
|
- ./tests/docker/teapot/config:/etc/config
|
||||||
- ./tests/docker/teapot/data:/etc/socialbox
|
- ./tests/docker/teapot/data:/etc/socialbox
|
||||||
|
- ./tests/docker/teapot/logs:/var/log
|
||||||
environment:
|
environment:
|
||||||
# No need to change these values
|
# No need to change these values
|
||||||
LOG_LEVEL: ${LOG_LEVEL:-debug}
|
LOG_LEVEL: ${LOG_LEVEL:-debug}
|
||||||
|
|
|
@ -481,7 +481,7 @@
|
||||||
publicKey: $this->serverPublicSigningKey,
|
publicKey: $this->serverPublicSigningKey,
|
||||||
))
|
))
|
||||||
{
|
{
|
||||||
throw new RpcException('Failed to verify the response signature');
|
throw new RpcException('The response signature cannot be verified with the server\'s public signing key');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
catch (CryptographyException $e)
|
catch (CryptographyException $e)
|
||||||
|
|
|
@ -1,9 +0,0 @@
|
||||||
<?php
|
|
||||||
|
|
||||||
namespace Socialbox;
|
|
||||||
|
|
||||||
use PHPUnit\Framework\TestCase;
|
|
||||||
|
|
||||||
class SocialClientSessionTest extends TestCase
|
|
||||||
{
|
|
||||||
}
|
|
Loading…
Add table
Reference in a new issue